package com.project.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户表
 */
@TableName("user_info")
public class UserBean {

    //用户编号
    @TableId(value = "pk_userId" , type = IdType.AUTO)
    private int userId;
    //用户名

    private String userName;
    //用户密码
    private String userPwd;
    //用户权限
    private String userRood;
    //用户真实姓名
    private String userRealName;

    public UserBean() {
    }

    public UserBean(String userName, String userPwd, String userRood, String userRealName) {
        this.userName = userName;
        this.userPwd = userPwd;
        this.userRood = userRood;
        this.userRealName = userRealName;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserRood() {
        return userRood;
    }

    public void setUserRood(String userRood) {
        this.userRood = userRood;
    }

    public String getUserRealName() {
        return userRealName;
    }

    public void setUserRealName(String userRealName) {
        this.userRealName = userRealName;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userRood='" + userRood + '\'' +
                ", userRealName='" + userRealName + '\'' +
                '}';
    }
}
